package com.sk.gzwater.view;

import com.sk.gzewop.R;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.TableRow;

public class HeaderShengchanshujutianbao extends Activity {
	private TableRow huayanshujuTianbao;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.shengchanshujutianbao);
		initialize ();
	}
	protected void initialize (){
		viewClickListener temp = new viewClickListener();
		huayanshujuTianbao = (TableRow)findViewById(R.id.tr_huayanshujutianbao);
		huayanshujuTianbao.setOnClickListener(temp);
	}
	protected class viewClickListener implements OnClickListener{
		@Override
		public void onClick(View v) {
			switch (v.getId()) {
			case R.id.tr_huayanshujutianbao:
				startActivity(new Intent(HeaderShengchanshujutianbao.this, HuayanshujuTianbao.class));
				break;
			default:
				break;
			}
			
		}
	}
}
